<template>
  <el-form-item
    :label="i18nt('designer.setting.defaultRowValue')"
    label-width="150px"
  >
    <el-button
      type="info"
      icon="el-icon-edit"
      plain
      round
      @click="editEventHandler('defaultRowValue', eventParams, 'json')"
    >
      {{ i18nt("designer.setting.addEventHandler") }}
    </el-button>
  </el-form-item>
</template>

<script>
import i18n from "Yan/utils/i18n";
import eventMixin from "./eventMixin";

export default {
  name: "defaultRowValue-editor",
  mixins: [i18n, eventMixin],
  props: {
    designer: Object,
    optionModel: Object,
  },
  data() {
    return {
      eventParams: [],
    };
  },
};
</script>

<style scoped>
</style>
